package cn.edu.scau.cmi.houzhicong.hibernate.domain;

public class Student implements java.io.Serializable {



    private String id;
    private String name;
    private Teacher tutor;


    public Student() { }


    public Student(String id, String name) {
        this.id = id;
        this.name = name;
    }

    public Student(String id, String name, Teacher tutorId) {
        this.id = id;
        this.name = name;
        this.tutor = tutorId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Teacher getTutor() {
        return tutor;
    }

    public void setTutor(Teacher tutor) {
        this.tutor = tutor;
    }
}
